package kr.totalcall.events
{
	import flash.events.Event;
	
	public class MessageEvent extends Event
	{
		public static const SEND:String = "SEND";
		public static const RECEIVE:String = "RECEIVE";
		
		public var messageData:Object;
		
		
		public function MessageEvent(type:String, msgData:Object, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			messageData = msgData;
		}
		
		
		override public function clone():Event{
			return new MessageEvent(type, messageData, bubbles, cancelable);
		}
	}
}